from django.conf.urls import patterns, url, include
from accounts.views import account_login, PasswordUpdate

urlpatterns = patterns('',
                       url(r'^login/$', account_login, name='login'),
                       url('^', include('django.contrib.auth.urls')),
                       url(r'^admin/', include('accounts.admin.urls')),
                       url(r'^manager/', include('accounts.manager.urls')),
                       url(r'^agent/', include('accounts.agent.urls')),
                       url(r'^change/password/(?P<pk>\d+)/$',PasswordUpdate.as_view(),name='password_update'),
                       )